@extends('layouts.header')
@section('content')
    <article class="page-container">
    @foreach($data as $item)
        <div class="panel panel-primary mt-20">
            <div class="panel-body">
                <span>
                    @foreach($item['img'] as $img_name => $img)
                    <img src="{{$img}}" alt="{{$img_name}}">
                    @endforeach
                </span>
                <span class="btn btn-primary radius" onclick="layer_show('{{$item['name']}}','{{$item['url']}}','auto','auto',1)">{{$item['name']}}</span>
            </div>
        </div>
    @endforeach
    </article>
    <script>

    </script>
@endsection